<div class="header-banner">
	<h1>
		<?php __('Edit Banner'); ?>
   </h1>
</div>

<div class="advertisements form">
<?php echo $this->Form->create('Banner');?>
	<?php
		echo $this->Form->input('id', array('type' => 'hidden'));
		echo $this->Form->input('name');
		echo '<div class="clear">&nbsp;</div>';
		echo '<div class="input text">';
			echo '<label for="BannerName">'. __('Choose a File',true) . '</label>';
			echo $this->Form->file('File', array('type' => 'file'));
		echo '</div>';
		echo '<div class="clear">&nbsp;</div>';
			
			
		echo '<div class="input text">';
			echo '<label for="BannerName">&nbsp;</label>';
			echo '<span id = "image">'.$this->Html->image('/img/files/'. $this->data['Banner']['image']).'</span>';
		echo '</div>';
		echo '<div class="clear">&nbsp;</div>';
		echo '<div class="input text">';
			echo '<label for="BannerStatus">'. __('Status',true) . '</label>';
			echo $this->Form->input('Banner.status', array('label' => false, 'div' => false));
		echo '</div>';
		
		echo '<div class="clear">&nbsp;</div>';
		echo $this->Form->input('Category');
		echo '<div class="clear">&nbsp;</div>';	?>
    <div class="clear">&nbsp; </div>
<?php echo $this->Form->end(__('Submit', true));?>
</div>